package com.maibow.entity.admin;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * The persistent class for the t_module database
 * table.
 * 
 */
public class WeixinMenu implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer moduleid;

    private String moduletreeid;

    private Date createtime;

    private Integer creatorid;

    private String creatorname;

    private String modulename;

    private String moduleorder;

    private String moduleurl;

    private Integer parentmoduleid;

    private String remark;

    private String target;

    private boolean hasoperprivilege = false;

    // bi-directional many-to-one association to
    // TSubSystem
    private Integer subsystemid;

    // bi-directional many-to-one association to
    // TOperPrivilege
    private List<OperPrivilege> operprivileges;

    // bi-directional many-to-many association to
    // TRole
    private List<Role> roles;

    private List<WeixinMenu> submodule;

    private String module_type;

    public WeixinMenu() {
    }

    /**
     * moduleid
     *
     * @return the moduleid
     * @since 1.0.0
     */

    public Integer getModuleid() {
        return moduleid;
    }

    /**
     * @param moduleid
     *            the moduleid to set
     */
    public void setModuleid(Integer moduleid) {
        this.moduleid = moduleid;
    }

    /**
     * moduletreeid
     *
     * @return the moduletreeid
     * @since 1.0.0
     */

    public String getModuletreeid() {
        return moduletreeid;
    }

    /**
     * @param moduletreeid
     *            the moduletreeid to set
     */
    public void setModuletreeid(String moduletreeid) {
        this.moduletreeid = moduletreeid;
    }

    /**
     * createtime
     *
     * @return the createtime
     * @since 1.0.0
     */

    public Date getCreatetime() {
        return createtime;
    }

    /**
     * @param createtime
     *            the createtime to set
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    /**
     * creatorid
     *
     * @return the creatorid
     * @since 1.0.0
     */

    public Integer getCreatorid() {
        return creatorid;
    }

    /**
     * @param creatorid
     *            the creatorid to set
     */
    public void setCreatorid(Integer creatorid) {
        this.creatorid = creatorid;
    }

    /**
     * creatorname
     *
     * @return the creatorname
     * @since 1.0.0
     */

    public String getCreatorname() {
        return creatorname;
    }

    /**
     * @param creatorname
     *            the creatorname to set
     */
    public void setCreatorname(String creatorname) {
        this.creatorname = creatorname;
    }

    /**
     * modulename
     *
     * @return the modulename
     * @since 1.0.0
     */

    public String getModulename() {
        return modulename;
    }

    /**
     * @param modulename
     *            the modulename to set
     */
    public void setModulename(String modulename) {
        this.modulename = modulename;
    }

    /**
     * moduleorder
     *
     * @return the moduleorder
     * @since 1.0.0
     */

    public String getModuleorder() {
        return moduleorder;
    }

    /**
     * @param moduleorder
     *            the moduleorder to set
     */
    public void setModuleorder(String moduleorder) {
        this.moduleorder = moduleorder;
    }

    /**
     * moduleurl
     *
     * @return the moduleurl
     * @since 1.0.0
     */

    public String getModuleurl() {
        return moduleurl;
    }

    /**
     * @param moduleurl
     *            the moduleurl to set
     */
    public void setModuleurl(String moduleurl) {
        this.moduleurl = moduleurl;
    }

    /**
     * parentmoduleid
     *
     * @return the parentmoduleid
     * @since 1.0.0
     */

    public Integer getParentmoduleid() {
        return parentmoduleid;
    }

    /**
     * @param parentmoduleid
     *            the parentmoduleid to set
     */
    public void setParentmoduleid(Integer parentmoduleid) {
        this.parentmoduleid = parentmoduleid;
    }

    /**
     * remark
     *
     * @return the remark
     * @since 1.0.0
     */

    public String getRemark() {
        return remark;
    }

    /**
     * @param remark
     *            the remark to set
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * target
     *
     * @return the target
     * @since 1.0.0
     */

    public String getTarget() {
        return target;
    }

    /**
     * @param target
     *            the target to set
     */
    public void setTarget(String target) {
        this.target = target;
    }

    /**
     * hasoperprivilege
     *
     * @return the hasoperprivilege
     * @since 1.0.0
     */

    public boolean isHasoperprivilege() {
        return hasoperprivilege;
    }

    /**
     * @param hasoperprivilege
     *            the hasoperprivilege to set
     */
    public void setHasoperprivilege(boolean hasoperprivilege) {
        this.hasoperprivilege = hasoperprivilege;
    }

    /**
     * subsystemid
     *
     * @return the subsystemid
     * @since 1.0.0
     */

    public Integer getSubsystemid() {
        return subsystemid;
    }

    /**
     * @param subsystemid
     *            the subsystemid to set
     */
    public void setSubsystemid(Integer subsystemid) {
        this.subsystemid = subsystemid;
    }

    /**
     * operprivileges
     *
     * @return the operprivileges
     * @since 1.0.0
     */

    public List<OperPrivilege> getOperprivileges() {
        return operprivileges;
    }

    /**
     * @param operprivileges
     *            the operprivileges to set
     */
    public void setOperprivileges(List<OperPrivilege> operprivileges) {
        this.operprivileges = operprivileges;
    }

    /**
     * roles
     *
     * @return the roles
     * @since 1.0.0
     */

    public List<Role> getRoles() {
        return roles;
    }

    /**
     * @param roles
     *            the roles to set
     */
    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }

    /**
     * submodule
     *
     * @return the submodule
     * @since 1.0.0
     */

    public List<WeixinMenu> getSubmodule() {
        return submodule;
    }

    /**
     * @param submodule
     *            the submodule to set
     */
    public void setSubmodule(List<WeixinMenu> submodule) {
        this.submodule = submodule;
    }

    /**
     * module_type
     *
     * @return the module_type
     * @since 1.0.0
     */

    public String getModule_type() {
        return module_type;
    }

    /**
     * @param module_type
     *            the module_type to set
     */
    public void setModule_type(String module_type) {
        this.module_type = module_type;
    }

}